package com.kantboot.functional.im.event;

import com.kantboot.functional.im.dto.FunctionalImPushMessageDTO;
import jakarta.websocket.Session;
import lombok.Getter;
import lombok.Setter;
import org.springframework.context.ApplicationEvent;

@Getter
@Setter
public class WebsocketPushEvent extends ApplicationEvent {

    private FunctionalImPushMessageDTO message;

    private Session session;


    public WebsocketPushEvent(Object source, FunctionalImPushMessageDTO message, Session session) {
        super(source);
        this.message = message;
        this.session = session;
    }

}
